package com.xinzhidi.web.equipment.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinzhidi.common.annotation.Excel;
import com.xinzhidi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 存档对象 equipment_archives
 *
 * @author cx
 * @date 2023-07-12
 */
@ApiModel(value = "存档对象")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("equipment_archives")
public class EquipmentArchives extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "存档类型0小区1楼栋2单元")
    @Excel(name = "存档类型0小区1楼栋2单元")
    private Long type;

    @ApiModelProperty(value = "阀门开度")
    @Excel(name = "阀门开度")
    private String valveOpen;

    @ApiModelProperty(value = "小区id")
    @Excel(name = "小区id")
    private Long plotId;

    @ApiModelProperty(value = "楼栋id")
    @Excel(name = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "单元id")
    @Excel(name = "单元id")
    private Long unitId;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    @TableLogic
    private String delFlag;

}
